diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-27 12:06:26 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-27 12:06:26 +0000 |
| commit | 7548e2ad6948f1c6aa102fcac408bc6c9c0f9796 (patch) | |
| tree | 8e66703ec821888ad51dcc242a508813a027bf71 /app/api/files/[...path]/route.ts | |
| parent | 7eac558470ef179dad626a8e82db5784fe86a556 (diff) | |
(대표님, 최겸) 기본계약, 입찰, 파일라우트, 계약서명라우트, 인포메이션, 메뉴설정, PQ(메일템플릿 관련)
Diffstat (limited to 'app/api/files/[...path]/route.ts')
| -rw-r--r-- | app/api/files/[...path]/route.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/api/files/[...path]/route.ts b/app/api/files/[...path]/route.ts index 2b58ca43..3fb60347 100644 --- a/app/api/files/[...path]/route.ts +++ b/app/api/files/[...path]/route.ts @@ -92,6 +92,7 @@ export async function GET( if (process.env.NODE_ENV === 'production') { // ✅ 프로덕션: NAS 경로 사용 filePath = path.join(nasPath, requestedPath); + } else { // 개발: public 폴더 filePath = path.join(process.cwd(), 'public', requestedPath); |
